﻿using System;
using System.Linq;

class IndexOfLettersInArray
{
    static void Main()
    {
        char[] array = new char[26];

        for (int i = 0; i <= 25; i++)
        {
            array[i] = (char)(i + 65);
        }

        Console.WriteLine("Type a word here:");
        string word = Console.ReadLine();
        word = word.ToUpper();

        for (int i = 0; i < word.Length; i++)
        {
            for (int j = 0; j <= 25; j++)
            {
                if (word[i] == array[j])
                {
                    Console.WriteLine(j);
                    break;
                }
            }
        }
    }
}